package SpaceIT.pages.Admin;

import model.pojo.NhanVien;

import org.apache.tapestry5.annotations.ApplicationState;

import SpaceIT.pages.Index;

public class DangXuat {

	@ApplicationState
    private NhanVien NV;
	public Object onActivate()
	{
		if(NV.isDangNhap()==true)
		{			
			NV.setDangNhap(false);
			return Index.class;
		}
		return null;
	}
}
